package com.example.ordersystem.pojo;

//菜品信息

public class Food {
    private String foodName;//菜品名
    private String message;//菜品信息
    private int price;//菜品单价
    private int imageId;//菜品对应图片的id
    private int storeId;//菜品对应店铺的id  便于关联
    private int num;//菜品的数量

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodName='" + foodName + '\'' +
                ", message='" + message + '\'' +
                ", price=" + price +
                ", imageId=" + imageId +
                ", storeId=" + storeId +
                '}';
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getImageId() {
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public Food(String foodName, String message, int price, int imageId, int storeId) {
        this.foodName = foodName;
        this.message = message;
        this.price = price;
        this.imageId = imageId;
        this.storeId = storeId;
    }
}
